﻿#region
/*******************************************************************************
** File Name:		    INewsService.cs
** Creator:		        chao.jiang 
** EMail:               chao.jiang 
** Create date:	        
** Latest Modifier:
** Latest Modify date:
** Description:		    
** Modify History:
**
** Code Review:
**
** Version number:       1.0.0
*********************************************************************************/
#endregion
using System;
using System.Collections.Generic;
using System.Text;
using Phoenix.Entity;
using Phoenix.Service.Model;

namespace Phoenix.Service.Contracts
{
    public interface INewsService
    {
        #region  Auto Generation
        
        void AddNews(NewsModel model );

		void UpdateByNewsID (NewsModel model );

		void DeleteByNewsID (System.Int32 newsID );
		 
        NewsModel GetByNewsID (System.Int32 newsID );
        

		#endregion

		IList<NewsModel> GetPagedList(int pageSize, int pageIndex, int categoryID, out int totalRecord);

    }
}